<h1>Listing weathers</h1>

<table>
  <tr>
    <th>Temperature</th>
    <th>Conditions</th>
  </tr>

<% for weather in @weathers %>
  <tr>
    <td><%=h weather.temperature %></td>
    <td><%=h weather.conditions %></td>
    <td><%= link_to 'Show', weather %></td>
    <td><%= link_to 'Edit', edit_weather_path(weather) %></td>
    <td><%= link_to 'Destroy', weather, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New weather', new_weather_path %>
